<?php

namespace App\Models;

/**
 * @mixin IdeHelperLotteryUser
 */
class LotteryUser extends BaseModel
{
    public function user()
    {
        return $this->belongsTo(FrontendUser::class, 'user_id');
    }

    public function records()
    {
        return $this->hasMany(LotteryRecord::class, 'user_id');
    }
}
